package com.fast.linkbeanadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fast.linkbeanadmin.pojo.entity.SysAuthorityDO;
import com.fast.linkbeanadmin.pojo.entity.SysUserDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ruan cai yuan
 * @version 1.0
 * @fileName com.fast.linkbeanadmin.mapper.SysUserMapper
 * @description: 针对表【sys_user(用户信息表)】的数据库操作Mapper
 * @since 2024/7/21 下午4:52
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserDO> {
    /**
     * 根据用户ID查询用户对应的权限集合
     *
     * @param id 用户ID
     * @return 用户权限集合
     */
    List<SysAuthorityDO> queryUserAuthorities(Integer id);
}




